Summary
Renders a link to a document in another language if it exists.
Category | AS MLC |
Version | 1.0 |
Complies with Xhtml 1.0 / 1.1 rules | Yes |
Supported server programming languages | C# Visual Basic.NET |
Output content type | inline |
When to use
This component is typically used in an multi language Web site when there is a need to display a link to a link to a version in another language of a document.
Programming interface
Parameters
- Use root document
- Check this to user root document, id in querystring
- Lookup on presentation template
- Check this to do an MLC lookup on the presentation template used to present the current document. If you set this parameter the presentation template must be an MLC member or located in an MLC member category.
- Language options
- Language
- Choose language for the generated link.
- Link options
- Text
- Defines the text to display in the generated link.
- Link title
- An optional title attribute of the generated link.
- Link target
- Defines the target attribute of the generated link. If this parameter is empty the class attribute is omitted. Note For Xhml 1.0 strict and higher the target attribute is not supported. For these doc types a java script is inserted instead.
- Link class
- A CSS class that will be applied to the generated link. If this parameter is empty the class attribute is omitted.
- Link attributes
- Optional attributes for the generated link , ex. id="Link1". The value of this property must either be empty or a valid attribute syntax. If this syntax is invalid an error will be generated.
- Image options
- Link image
- A value that specifies an url to an image to display as a part of the link image. This url acts as the source for the written image element. The default value is an empty string which will omit the image element entirely.
- Image alt
- Defines the alt attribute of the image. This attribute should be set to a description of the image inserted
- Image attributes
- Optional attributes for the image in the link , ex. id="Image1". The value of this property must either be empty or a valid attribute syntax. If this syntax is invalid an error will be generated.
Remarks
This component requires the MLC (Multi language clustering) functionality in Content Studio.